//
//  SectionPresenterProtocol.h
//  GRFMDownloader_Example
//
//  Created by Guo Rui on 2018/1/12.
//  Copyright © 2018年 GR. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol SectionPresenterProtocol <NSObject>


@property (strong, nonatomic) NSArray *dataArray;

- (NSInteger)itemCount;

- (UICollectionReusableView *)headerViewWithCollectionView:(UICollectionView *)collectionView indexpath:(NSIndexPath *)indexPath;

- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;
- (CGSize)sizeForItemAtIndex:(NSInteger)index;


+ (instancetype) presentWithView:(UICollectionView *)collectionView ;

@end
